﻿<UserControl x:Class="Nox.Amuse.View.AboutBox"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             RenderOptions.BitmapScalingMode="HighQuality"
             TextOptions.TextFormattingMode="Display">
    <StackPanel>
        <TabControl TabStripPlacement="Top"
                    HorizontalAlignment="Stretch"
                    VerticalAlignment="Stretch"
                    IsSynchronizedWithCurrentItem="True"
                    Margin="7,7,7,10">
            <TabItem Header="Information">
                <Border Height="500"
                        Width="500">
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1"
                                             StartPoint="0.5,0">
                            <GradientStop Color="#FF849EBB"
                                          Offset="0" />
                            <GradientStop Color="#FFB8987B"
                                          Offset="1" />
                        </LinearGradientBrush>
                    </Border.Background>
                    <Grid Background="{x:Null}">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="0.622*" />
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="0.589*" />
                        </Grid.ColumnDefinitions>
                        <Image HorizontalAlignment="Center"
                               x:Name="imageIcon"
                               VerticalAlignment="Center"
                               Width="256"
                               Source="..\Amuse.ico" />
                        <Image HorizontalAlignment="Center"
                               x:Name="imageRelease"
                               VerticalAlignment="Center"
                               Width="200"
                               Grid.Row="1"
                               Stretch="Uniform"
                               Source="/Amuse;component/Images/nidoqueen.png">
                            <Image.Effect>
                                <DropShadowEffect BlurRadius="30"
                                                  Color="#FFFFFFFF"
                                                  ShadowDepth="0"
                                                  RenderingBias="Quality" />
                            </Image.Effect>
                        </Image>
                        <StackPanel HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    x:Name="stackTop"
                                    Grid.Column="1">
                            <TextBlock Text="Name"
                                       TextWrapping="Wrap"
                                       x:Name="textName"
                                       HorizontalAlignment="Center"
                                       FontSize="48"
                                       Foreground="#FFFFFFFF"
                                       Margin="10,10,10,10"
                                       TextAlignment="Center"
                                       TextOptions.TextFormattingMode="Ideal">
    							<TextBlock.Effect>
    								<DropShadowEffect BlurRadius="30"
                                                      Color="#FFFFFFFF"
                                                      ShadowDepth="0"
                                                      RenderingBias="Quality"
                                                      Opacity="1" />
    							</TextBlock.Effect>
                            </TextBlock>
                            <TextBlock Text="Version"
                                       TextWrapping="Wrap"
                                       HorizontalAlignment="Center"
                                       x:Name="textVersion"
                                       FontSize="24"
                                       Foreground="#FFFFFFFF"
                                       Margin="10,10,10,10"
                                       TextAlignment="Center" />
                            <TextBlock Text="Copyright"
                                       TextWrapping="Wrap"
                                       HorizontalAlignment="Center"
                                       x:Name="textCopyright"
                                       FontSize="24"
                                       Foreground="#FFFFFFFF"
                                       Margin="10,10,10,10"
                                       TextAlignment="Center" />
                        </StackPanel>
                        <StackPanel HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    x:Name="stackBottom"
                                    Grid.Row="1"
                                    Grid.Column="1">
                            <TextBlock x:Name="textReleaseName"
                                       FontSize="18"
                                       Foreground="#FFFFFFFF"
                                       Text="Release"
                                       TextWrapping="Wrap"
                                       HorizontalAlignment="Center"
                                       Margin="5,5,5,5"
                                       TextAlignment="Center" />
                            <TextBlock x:Name="textReleaseStage"
                                       FontSize="18"
                                       Foreground="#FFFFFFFF"
                                       Text="Stage"
                                       TextWrapping="Wrap"
                                       HorizontalAlignment="Center"
                                       Margin="5,5,5,5"
                                       TextAlignment="Center" />
                            <Button x:Name="webButton"
                                    MinWidth="92"
                                    MinHeight="24"
                                    Content="codeplex.com/amuse"
                                    Padding="3"
                                    Margin="5"
                                    FontSize="14" />
                            <TextBlock x:Name="textTier"
                                       FontSize="14"
                                       Foreground="#FFFFFFFF"
                                       Text="Tier"
                                       TextWrapping="Wrap"
                                       HorizontalAlignment="Center"
                                       Margin="5,5,5,5"
                                       TextAlignment="Center" />
                        </StackPanel>
                    </Grid>
                </Border>
            </TabItem>
            <TabItem Header="Credits">
                <Border Height="500"
                        Width="500">
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1"
                                             StartPoint="0.5,0">
                            <GradientStop Color="White"
                                          Offset="0" />
                            <GradientStop Color="{DynamicResource AmusePurple}"
                                          Offset="2" />
                        </LinearGradientBrush>
                    </Border.Background>
                    <RichTextBox x:Name="rtbCredits"
                                 Background="{x:Null}"
                                 BorderBrush="{x:Null}"
                                 IsReadOnly="True"
                                 VerticalScrollBarVisibility="Auto"
                                 HorizontalAlignment="Stretch"
                                 VerticalAlignment="Stretch" />
                </Border>
            </TabItem>
            <TabItem Header="License">

                <Border Height="500"
                        Width="500">
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1"
                                             StartPoint="0.5,0">
                            <GradientStop Color="White"
                                          Offset="0" />
                            <GradientStop Color="{DynamicResource AmuseGreen}"
                                          Offset="2" />
                        </LinearGradientBrush>
                    </Border.Background>
                    <RichTextBox MaxHeight="500"
                                 MaxWidth="500"
                                 HorizontalAlignment="Stretch"
                                 x:Name="rtbLicense"
                                 VerticalAlignment="Stretch"
                                 Background="{x:Null}"
                                 BorderBrush="{x:Null}"
                                 IsReadOnly="True"
                                 VerticalScrollBarVisibility="Auto"
                                 FontFamily="Consolas" />
                </Border>
            </TabItem>
            <TabItem Header="ProxySocket">

                <Border Height="500"
                        Width="500">
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1"
                                             StartPoint="0.5,0">
                            <GradientStop Color="White"
                                          Offset="0" />
                            <GradientStop Color="{DynamicResource AmuseBlue}"
                                          Offset="2" />
                        </LinearGradientBrush>
                    </Border.Background>
                    <RichTextBox MaxHeight="500"
                                 MaxWidth="500"
                                 HorizontalAlignment="Stretch"
                                 x:Name="rtbLicenseProxy"
                                 VerticalAlignment="Stretch"
                                 Background="{x:Null}"
                                 BorderBrush="{x:Null}"
                                 IsReadOnly="True"
                                 VerticalScrollBarVisibility="Auto"
                                 FontFamily="Consolas" />
                </Border>
            </TabItem>
            <TabItem Header="MVVM Foundation">
                <Border Height="500"
                        Width="500">
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1"
                                             StartPoint="0.5,0">
                            <GradientStop Color="White"
                                          Offset="0" />
                            <GradientStop Color="{DynamicResource AmuseBlue}"
                                          Offset="2" />
                        </LinearGradientBrush>
                    </Border.Background>
                    <RichTextBox MaxHeight="500"
                                 MaxWidth="500"
                                 HorizontalAlignment="Stretch"
                                 x:Name="rtbLicenseMvvm"
                                 VerticalAlignment="Stretch"
                                 Background="{x:Null}"
                                 BorderBrush="{x:Null}"
                                 IsReadOnly="True"
                                 VerticalScrollBarVisibility="Auto"
                                 FontFamily="Consolas" />
                </Border>
            </TabItem>
        </TabControl>
        <Button HorizontalAlignment="Right"
                VerticalAlignment="Bottom"
                Content="_OK"
                x:Name="buttonOK"
                Margin="7,0,7,7"
                MinWidth="96"
                MinHeight="24"
                IsCancel="True"
                IsDefault="True" />

    </StackPanel>
</UserControl>
